/*
 * @Author: shy_didi
 * @Date: 2020-06-08 09:41:14
 * @LastEditTime: 2020-06-12 10:12:56
 * @LastEditors: Please set LastEditors
 * @Description: 路由列表
 * @FilePath: \发明人\fmr\src\router\router.js
 */
let routes = [{
    path: "/home",
    name: "home",
    alias: "/",
    meta: {
        title: "首页",
        english: "HOME"
    },
    component: () => import("@/pages/home/home")
}, {
    path: "/about",
    name: "about",
    meta: {
        title: "关于我们",
        english: "ABOUT"
    },
    component: () => import("@/pages/about/about")
}, {
    path: "/news",
    name: "news",
    meta: {
        title: "新闻中心",
        english: "NEWS"
    },
    component: () => import("@/pages/news/news")
}, {
    path: "/cooperation",
    name: "cooperation",
    meta: {
        title: "落地支持",
        english: "COOPERATION"
    },
    component: () => import("@/pages/cooperation/cooperation")
}, {
    path: "/support",
    name: "support",
    meta: {
        title: "合作机构",
        english: "SUPPORT"
    },
    component: () => import("@/pages/support/support"),
    children: [{
        path: "platform",
        name: "platform",
        alias: "/support",
        component: () => import("@/pages/support/components/platform/platform")
    },
    {
        path: "platformDetails",
        name: "platformDetails",
        component: () => import("@/pages/support/components/platform/platformDetails"),
        props(route){
            return{
                id:this.route.query.id
            }
        }
    }]
}, {
    path: "/contact",
    name: "contact",
    meta: {
        title: "联系我们",
        english: "CONTACT"
    },
    component: () => import("@/pages/contact/contact")
}]
export default routes